package com.example.photography.dao;

/**
 * 消息的建表语句
 */
public class UserInfoTable {
    public static final String TAB_NAME = "tab_userinfo";////表名
    public static final String id_unique = "id_unique";//唯一ID
    public static final String head_url = "head_url";//头像
    public static final String name = "name";//内容
    public static final String hr_sign = "hr_sign";//主页推荐标识（哪几个ViewPager）



    /**
     * 注意建表语句，参数格式和个数一定要认真核对
     * 后面调用增删改查操作方法的出错的时候不会报错
     * bebug也不会报错
     */
    public static final String CREATE_TAB = "create table "
            +TAB_NAME+ " ("
            + id_unique + " text primary key,"//主键，自动递增，非空
            + head_url + " text,"
            + name + " text,"
            + hr_sign + " text);";


}
